package com.jixiang.tracedata.model.traveller;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import java.io.Serializable;

/**
 * @author quanbiao
 * @date 2018-08-31
 * 手机
 */
@XStreamAlias("Phone")
public class Phone implements Serializable {

    private static final long serialVersionUID = -2635575963737020120L;

    /**
     * 类型
     */
    @XStreamAsAttribute()
    private String Type;

    /**
     * 手机号码
     */
    @XStreamAsAttribute()
    private String Number;

    public String getType() {
        return Type;
    }

    public void setType(String type) {
        Type = type;
    }

    public String getNumber() {
        return Number;
    }

    public void setNumber(String number) {
        Number = number;
    }


    @Override
    public String toString() {
        return "{" +
                "Type:" + Type +
                ", Number:" + Number +
                '}';
    }
}
